@import './basic.scss';

.store-wrap {
  .top {
    height: 80rpx;
  }
  .header {
    @include flex-center;
    margin-left: 21rpx;
    margin-right: 32rpx;
    .logo {
      width: 140rpx;
      min-height: 140rpx;
      height: 140rpx;
      border-radius: 50%;
      border: 6rpx solid #fff;
      position: relative;
      top: -50rpx;
      z-index: 1000;
      image {
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }
    }
    .content {
      flex: 1;
      margin-left: 11rpx;
      .top-box {
        @include flex-center;
      }
      .name {
        margin-right: 8rpx;
      }
      .level {
        width: 99rpx;
        height: 32rpx;
        background-image: url('https://xyh-static-app.oss-cn-hangzhou.aliyuncs.com/storage/default/20250507/f19663f086d6e552cca0ddbcf51bc9a9.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        font-size: 22rpx;
        font-weight: bold;
        color: #fff;
        position: relative;
        right: 6rpx;
        text {
          position: absolute;
          right: 16rpx;
          top: 50%;
          transform: translateY(-50%);
          font-style: italic;
        }
      }
    }
    .action {
      @include flex-center-center;
      padding: 7rpx 11rpx;
      border: 2rpx solid #ccc;
      border-radius: 8rpx;
      .icon {
        width: 22rpx;
        height: 22rpx;
      }
      .title {
        color: $primary-second-color;
        font-size: 22rpx;
        margin-left: 6rpx;
      }
    }
    
    .level-stars {
      @include flex-center;
      margin-top: 15rpx;
      image {
        width: 30rpx;
        height: 30rpx;
        margin-right: 6rpx;
      }
    }
    
  }

  .content-box {
    background-color: #EEEEEE;
    min-height: calc(100vh - 44rpx);
    .blue {
      width: 100%;
      height: 80rpx;
      background-color: $primary-color;
    }
    .store-top {
      background-color: #fff;
    }
    

    .tab-wrap {
      @include flex-center-between;
      margin-top: 50rpx;
      padding: 0 32rpx 20rpx;
      // 店铺列表tab样式
      .sort-tabs {
        display: flex;
      }
      .sort-tab {
        padding: 0 18rpx;
        text-align: center;
        font-size: 20px;
        color: #b3b3b3;
        position: relative;
        cursor: pointer;
        user-select: none;
        font-weight: normal;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .sort-tab.active {
        color: #222;
        font-weight: bold;
      }
      .arrows {
        display: inline-flex;
        flex-direction: column;
        margin-left: 2px;
        height: 18px;
        justify-content: center;
      }
      .arrow {
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        margin: 0 auto;
        margin-bottom: 1px;
      }
      .arrow.up {
        border-bottom: 6px solid #b3b3b3;
        border-top: none;
      }
      .arrow.down {
        border-top: 6px solid #b3b3b3;
        border-bottom: none;
        margin-bottom: 0;
      }
    }
    .action-right {
      @include flex-center;
      .aicon-btn {
        @include flex-center-center;
        padding: 2rpx 8rpx;
        border: 1px solid #CCCCCC;
        border-radius: 4rpx;
        .icon {
          width: 21rpx;
          height: 17rpx;
          margin-right: 4rpx;
        }
        .text {
          font-family: $font-PF-Medium;
          color: $primary-second-color;
          font-size: 22rpx;
        }
      }
      .aicon-btn:first-child {
        margin-right: 12rpx;
      }
    }
  }
  .lists1 {
    display: flex;
    flex-wrap: wrap; 
    gap: 25rpx;
    padding: 32rpx;
    .list-item {
      background-color: #fff;
      width: calc((100% - 25rpx) / 2);
      border-radius: 12rpx;
    }
  }
  .lists2 {
    display: flex;
    flex-wrap: wrap; 
    padding: 32rpx;
    .list-item {
      background-color: #fff;
      border-radius: 12rpx;
      width: 100%;
      margin-bottom: 24rpx;
    }
  }

}

.select-all-btn, .action-all-btn {
  width: 78%;
  position: fixed;
  bottom: 40rpx;
  left: 11%;
  height: 100rpx;
  border-radius: 50rpx;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24rpx;
  box-sizing: border-box;
  .circle {
    top: 50%;
    left: 24rpx;
    transform: translateY(-50%);
  }
  .btn {
    background-color: $primary-main-color;
    font-size: 26rpx;
    color: #fff;
    padding: 20rpx 26rpx;
    border-radius: 32rpx;
  }
  .text {
    font-size: 28rpx;
    color: $primary-one-color;
    font-family: $font-PF-Bold;
    font-weight: bold;
    padding-left: 38rpx;
  }
}

.action-all-btn {
  padding: 0 46rpx;
  
  .img {
    position: relative;
    width: 86rpx;
    height: 80rpx;
    image {
      width: 100%;
      height: 100%;
    }
  }

  .brumb {
    width: 26rpx;
    height: 26rpx;
    border-radius: 50%;
    background-color: $primary-main-color;
    color: #fff;
    font-size: 18rpx;
    @include flex-center-center;
    position: absolute;
    right: 0;
    top: 0;
  }
}




